package com.ly.chatsimple.tcp

data class Response<T>(
    val data: T?,
    val code: Int,
    val msg: String = ""
) {
    val isSuccess get() = code == 1
}
